package com.adnaan.restaurant.service;

import com.adnaan.restaurant.common.untils.PageResult;
import com.adnaan.restaurant.entity.CateGory;
import com.adnaan.restaurant.entity.Evaluation;
import com.adnaan.restaurant.entity.ResShop;

import java.util.List;

public interface IResShopService {
    /**
     * 查询菜品管理
     *
     * @param id 菜品管理主键
     * @return 菜品管理
     */
    public ResShop selectResShopById(Long id);

    /**
     * 查询菜品管理列表
     *
     * @return 菜品管理集合
     */
    public PageResult selectResShopList(String shopName, Integer pageNum, Integer pageSize);


    List<CateGory> selectCateGoryByShopId(Long shopId);

    List<ResShop> hotShop();

    int evaluate(Evaluation evaluation);

    PageResult evalList(Integer pageNum, Integer pageSize, Long shopId);
}
